<#import "/freemarker/modeltype.ftl" as mt>
<div class="dataTables_title">
	<div class="dataTables_title_left">按钮注释</div>
	<div class="dataTables_title_right">
		<a class="btn btn-warning" href="#"><i class="icon-download-alt"></i> 下载</a>
	</div>
</div>
<div id="tabs-1" >
	<table class="table table-bordered mailinbox">
		<thead>
			<tr>
				<th>文档名称</th>
				<th>上传时间</th>
				<th>上传者</th>
				<th>文档类别</th>
				<th>文档类型</th>
				<th>公开权限</th>
				<th style="width:25px;">操作</th>
			</tr>
		</thead>
		<#list pageBean.resultList as d>
			<tr class="unread" >
				<td>${(d.name)!''}</td>
				<td class="date">${(d.ct?string('yyyy-MM-dd'))!''}</td>
				<td>${(d.cun)!''}</td>
				<td>${(d.dn)!''}</td>
				<td>${(d.ext)!''}</td>
				<td><a onclick="javascript: sys_load_handle('documentInfo-edit1_${(d.code)!''}');"><#if d.pType == 1>完全公开<#elseif d.pType == 2>仅自己可见<#elseif d.pType == 3>指定机构<#elseif d.pType == 4>指定角色<#elseif d.pType == 5>指定用户</#if></a>
				</td>
				<td style="text-align:right;">
					<div class="btn-group">
						<a class="btn btn-xs btn-warning" onclick="javascript:download_documentInfo(sys_context_path,'${d.uuid}');" title="下载"><i class="icon-download-alt"></i></a>
					</div>
				</td>
			</tr>
		</#list>
	</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'queryDocumentInfo_documentInfo'/>
</div>
